package org.example.warehouse.mapper;

import java.util.List;

import org.example.warehouse.domain.MallStoreDetail;
import org.example.warehouse.domain.SellStoreDetail;

/**
 * 仓库出库详情Mapper接口
 *
 * @author 小孟微信：xiaomengcode
 * @date 2024-04-12
 */
public interface SellStoreDetailMapper
{
    /**
     * 查询仓库出库详情
     *
     * @param sellDetailId 仓库出库详情主键
     * @return 仓库出库详情
     */
    public SellStoreDetail selectSellStoreDetailBySellDetailId(Long sellDetailId);

    /**
     * 查询仓库出库详情列表
     *
     * @param sellStoreDetail 仓库出库详情
     * @return 仓库出库详情集合
     */
    public List<SellStoreDetail> selectSellStoreDetailList(SellStoreDetail sellStoreDetail);

    public SellStoreDetail selectSellStoreDetailCount(SellStoreDetail sellStoreDetail);


    /**
     * 新增仓库出库详情
     *
     * @param sellStoreDetail 仓库出库详情
     * @return 结果
     */
    public int insertSellStoreDetail(SellStoreDetail sellStoreDetail);

    /**
     * 修改仓库出库详情
     *
     * @param sellStoreDetail 仓库出库详情
     * @return 结果
     */
    public int updateSellStoreDetail(SellStoreDetail sellStoreDetail);
    public int updateSellStoreDetailAccountId(SellStoreDetail sellStoreDetail);
    /**
     * 删除仓库出库详情
     *
     * @param sellDetailId 仓库出库详情主键
     * @return 结果
     */
    public int deleteSellStoreDetailBySellDetailId(Long sellDetailId);

    /**
     * 批量删除仓库出库详情
     *
     * @param sellDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSellStoreDetailBySellDetailIds(String[] sellDetailIds);
}
